//
//  PingJia.m
//  EJLX
//
//  Created by adc on 15/11/23.
//  Copyright © 2015年 江苏一键联信息科技有限公司. All rights reserved.
//

#import "PingJia.h"

@implementation PingJia
+(id)userWithDictionary:(NSDictionary*)userDic
{
    return [[self alloc]initWithDictionary:userDic];
}
-(id)initWithDictionary:(NSDictionary*)userDic
{
    self=[super init];
    if (self)
    {
        
        
        _productid=[userDic[@"productid"]intValue];
         _total=[userDic[@"total"]intValue];
         _good=[userDic[@"good"]intValue];
         _common=[userDic[@"common"]intValue];
         _bad=[userDic[@"bad"]intValue];
    }
    return self;
}

@end
